<?php 
/*recruitment template*/
get_header(); 
?>
		 <div id="container1">
	 	   <div class="AboutSubmenu">
		   	<ul>
				
				<li class="Home"><a href="<?php bloginfo('url'); ?>"><img src="<?php bloginfo('template_url'); ?>/images/homebutton.png" /></a></li>
				
                             <?php   
                            if($post->post_parent) {
                              $children = wp_list_pages("title_li=&child_of=369&exclude=794&echo=0");
                              $titlenamer = get_the_title(369);
                              }
                              else {
                              $children = wp_list_pages("title_li=&child_of=369&exclude=794&echo=0");
                              $titlenamer = get_the_title(369);
                              }
                                           ?>
                                <li class="Image">
                                	<a style="margin-left:15px;" href="<?php bloginfo('url'); ?>/?cat=10">
                                		<img src="<?php bloginfo('template_url'); ?>/images/careertitle.png" />
                                	</a>
                                </li>
                              <?php
                              if ($children) { ?>
                              <?php echo $children; ?>
                             <?php } ?>
                <li class="Image">
                	<a style="margin-left:15px;" href="<?php bloginfo('url'); ?>/?page_id=794">
						<img src="<?php bloginfo('template_url'); ?>/images/hrdb.png" />
					</a></li>
				<li class="Image"><img src="<?php bloginfo('template_url'); ?>/images/wordsimage.png" /></li>
			</ul>
			
			
		   </div>
		   
		   <div class="contentSub">
			     <div class="titlePic">
				 	<img src="<?php bloginfo('template_url'); ?>/images/careertitlebg.png" />
				 </div>                   		  
		     <div class="AboutCareerdevWordscontent">
		  		<div class="CareerdevTitle">				</div>
				<div class="CareerdevTable"><img src="<?php bloginfo('template_url'); ?>/images/careercontent.png" /></div>
				
				<div class="CareerdevTablelist">
				
									
				<?php 
					// $the_query = new WP_Query(array ( 'orderby' => 'ID', 'order' => 'ASC', 'cat' => 10, 'posts_per_page' => 15));
					//while ($the_query->have_posts()): $the_query->the_post();{
						 if ( have_posts() ) : while ( have_posts() ) : the_post();
						$str_title = the_title('','',false);
						$pieces = explode("-", $str_title);
						
					?>
					<ul>
						<li class="Branch"><?php echo $pieces[0];?></li>
						<li class="Job"><a href="<?php the_permalink();?>"><?php echo $pieces[1];?></a></li>
						<li class="Location"><?php echo $pieces[2];?></li>
						<li class="Quantity"><?php echo $pieces[3];?></li>
						<li class="PublishTime"><?php echo get_the_date(); ?>
						<?php 
							$isHot = get_post_meta($post->ID, "hot", $single = true);
							if ($isHot == 'yes') echo "<img src=".get_bloginfo('template_url')."/images/hot.jpg></img>";?>
							
							</li>

					</ul>	
						<?php 
					//}
					endwhile; else:

				?>
				对不起,没有你要的内容!
							
			
                                                        <?php endif; ?>


						
					</ul>
					<br>
					<div class="singlePageNav">
                              	<?php if(function_exists('wp_simple_pagination')) {
                                        wp_simple_pagination();
                                } ?> 
                                </div>
				</div>
		     </div>
              
			  <div class="pageBottomPic"></div>
		   </div>
		 </div>

<?php get_footer(); ?>                                